<template>
  <div class="common-layout">
    <el-container class="main-container">
      <!-- 顶部栏 -->
      <el-header class="header">
        <div class="header-left">
          <el-avatar :size="36" class="avatar" src="/ey.png" />
        </div>
        <div class="header-center">
          <span class="page-title">{{ pageTitle }}</span>
        </div>
        <div class="header-right">
          <svg @click="goAIPage" t="1750764256600" class="icon" viewBox="0 0 1024 1024" version="1.1"
            xmlns="http://www.w3.org/2000/svg" p-id="5189">
            <path
              d="M511.994264 511.994264m-511.994264 0a511.994264 511.994264 0 1 0 1023.988529 0 511.994264 511.994264 0 1 0-1023.988529 0Z"
              fill="#28176D" p-id="5190"></path>
            <path
              d="M769.87841 652.183853h-53.444341V522.260992h53.444341zM789.528583 522.260992h-19.650173v129.922861h84.898383V522.260992h-65.24821z"
              fill="#F8C642" p-id="5191"></path>
            <path d="M772.012054 782.095242h-55.577985V652.172382H772.012054z" fill="#F8C642" p-id="5192"></path>
            <path
              d="M842.777913 782.095242h-72.910974V652.183853h84.886912v117.923981a11.99888 11.99888 0 0 1-11.975938 11.987408z"
              fill="#7B49B6" p-id="5193"></path>
            <path d="M836.571992 522.260992H716.434069V392.338132h120.137923z" fill="#FC3A64" p-id="5194"></path>
            <path d="M854.776793 522.260992h-65.24821V392.338132h65.24821z" fill="#FFFFFF" p-id="5195"></path>
            <path
              d="M348.518131 692.73456l-20.18932 88.95919H169.211736l126.951818-522.14628h224.124391l120.447646 522.157751H483.316253l-20.533455-88.959189z m28.047095-122.48952h58.170477l-28.735367-127.640091z"
              fill="#F8C642" p-id="5196"></path>
            <path d="M296.163554 259.54747l-22.896524 94.190059H542.014406l-21.726461-94.190059H296.163554z"
              fill="#7B49B6" p-id="5197"></path>
            <path d="M220.625674 570.24504h214.1215l28.047095 122.48952H190.846427l29.779247-122.48952z" fill="#FC3A64"
              p-id="5198"></path>
            <path d="M406.000336 442.604949h156.513112l29.435111 127.640091H434.747174l-28.746838-127.640091z"
              fill="#FFFFFF" p-id="5199"></path>
            <path d="M718.556241 241.893286h134.098379v47.61697H718.556241z" fill="#FC3A64" p-id="5200"></path>
            <path d="M718.556241 288.087826h134.098379v47.61697H718.556241z" fill="#FC3A64" p-id="5201"></path>
          </svg>
          <span class="logout" @click="logout">退出登录</span>
        </div>
      </el-header>
      <!-- 主体 -->
      <el-container style="height: calc(100vh - 4rem);">
        <div class="sidebar-inner">
          <el-menu :default-active="activeMenu" background-color="#fcd395" text-color="#fff" active-text-color="#faad14"
            class="custom-menu" :unique-opened="true" :collapse="isAsideCollapse" @select="handleSelect">
            <!-- 菜单项同前 -->
            <el-sub-menu index="1">
              <template #title>
                <svg t="1750644854278" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="5922">
                  <path
                    d="M801 579s-71.3-231.3-6.3-269.5c57.2-33.7-61.7-2.4-90.5-7.2-80.2-13.5 22.8-1.6-41.6-9-38.6-4.4-57.4-15.1-74.4 26.7-36.9 91-106.1 107.8-128.5 118.2-22.5 10.4-65.4-44.7-65.4-44.7S571.2 179.6 640.1 136.3 825.4 146.7 928 275.8C1024.2 396.8 801 579 801 579z"
                    fill="currentColor" p-id="5923"></path>
                  <path
                    d="M797.4 555.6L668.9 420.5c-5.7-6-15.2-6.2-21.2-0.5s-6.2 15.2-0.5 21.2l128.5 135c7 7.4 10.7 17.1 10.4 27.3-0.3 10.3-4.5 19.7-11.9 26.7s-17.1 10.7-27.3 10.4c-7.6-0.2-14.7-2.6-20.7-6.8L640.4 543c-1.2-1.2-2.5-2.2-3.9-3l-28.6-30c-5.7-6-15.2-6.3-21.2-0.6s-6.3 15.2-0.6 21.2l112.2 118.8c2.4 2.6 5.1 4.9 7.8 7.1l24.6 26c7 7.4 10.7 17.1 10.4 27.3s-4.5 19.7-11.9 26.7c-15.3 14.5-39.6 13.8-54.1-1.5L562.9 616.2c-5.7-6-15.2-6.3-21.2-0.6s-6.3 15.2-0.6 21.2l10.6 11.2c0.7 1.7 1.7 3.4 3.1 4.8L667 771.6c14.5 15.3 13.8 39.6-1.5 54.1-7.4 7-17.1 10.6-27.3 10.4-10.3-0.3-19.7-4.5-26.7-11.9L499.1 705.3c-5.7-6-15.2-6.3-21.2-0.6s-6.3 15.2-0.6 21.2l112.2 118.8c13.4 14.2 31.5 21.3 49.6 21.3 16.8 0 33.7-6.2 46.8-18.6 19.7-18.6 25.9-46.3 18.1-70.6 17.1-0.3 33.3-6.8 45.7-18.5 13.2-12.5 20.8-29.4 21.3-47.7 0.4-14.8-3.8-29-12.1-40.9 13.4-2.1 25.8-8.2 35.8-17.7 13.2-12.5 20.8-29.4 21.3-47.7s-6.1-35.4-18.6-48.7z"
                    fill="currentColor" p-id="5924"></path>
                  <path
                    d="M532 738.6c-10.3-10.9-23.3-17.6-37-20.2 5.8-9.8 9.1-21 9.4-32.8 0.5-18.3-6.1-35.6-18.5-48.8-9.7-10.3-22.2-17.2-35.9-19.9l16.9-15.9c13.2-12.5 20.8-29.4 21.3-47.7s-6.1-35.6-18.5-48.8c-25.8-27.4-69.1-28.6-96.5-2.8l-2.2 2c-1.9-13.5-7.8-26.5-17.9-37.2-12.5-13.2-29.4-20.8-47.7-21.3-18.3-0.5-35.6 6.1-48.8 18.5l-60.1 56.8-55.7-65.9C106.7 414.3 90.4 363 94.9 310S124 209.1 164.3 175.1C204.6 141 255.9 124.7 308.9 129.2c53 4.4 100.9 29.1 134.9 69.4l0.4 0.5 57.8 58.4c5.8 5.9 15.3 5.9 21.2 0.1 5.9-5.8 5.9-15.3 0.1-21.2l-57-57.5c-39.2-46.1-94.2-74.3-155-79.4-61-5.1-120.1 13.7-166.5 52.9S70.1 246.7 65 307.7s13.7 120.1 52.9 166.5l56.7 67.1L135 578.7c-27.4 25.8-28.6 69.1-2.8 96.5 13.4 14.2 31.5 21.3 49.6 21.3 2.1 0 4.2-0.1 6.3-0.3-3.1 20.1 2.8 41.4 17.8 57.3 13.4 14.2 31.5 21.3 49.6 21.3 1.8 0 3.5-0.1 5.3-0.2-3.3 20.3 2.5 41.9 17.7 58 12.5 13.2 29.4 20.8 47.7 21.3h2c8 0 15.7-1.4 23-4 1.1 15.2 7.2 30.1 18.4 41.9 12.5 13.2 29.4 20.8 47.7 21.3h2c17.5 0 34.1-6.6 46.8-18.6l63.2-59.7c13.2-12.5 20.8-29.4 21.3-47.7s-6.1-35.3-18.6-48.5z m-378-84c-14.5-15.3-13.8-39.6 1.5-54.1l121.6-114.9c7.1-6.7 16.4-10.4 26.2-10.4h1.1c10.3 0.3 19.7 4.5 26.7 11.9s10.7 17.1 10.4 27.3c-0.3 10.3-4.5 19.7-11.9 26.7l-121.5 115c-15.4 14.5-39.6 13.8-54.1-1.5z m100.4 90.3c-10.3-0.3-19.7-4.5-26.7-11.9S217 715.9 217.3 705.7c0.3-10.3 4.5-19.7 11.9-26.7l164.5-155.4c7.4-7 16.8-10.4 26.2-10.4 10.2 0 20.3 4 27.8 12 7 7.4 10.7 17.1 10.4 27.3-0.3 10.3-4.5 19.7-11.9 26.7L281.7 734.5c-7.4 7-17.1 10.7-27.3 10.4z m45.9 67.2c-14.5-15.3-13.8-39.6 1.5-54.1L410 655.9c7.1-6.7 16.4-10.4 26.2-10.4h1.1c10.3 0.3 19.7 4.5 26.7 11.9s10.7 17.1 10.4 27.3c-0.3 10.3-4.5 19.7-11.9 26.7l-18.8 17.7c-2.8 2-5.6 4.2-8.2 6.6l-63.2 59.7c-2.6 2.4-4.9 5-7.1 7.8l-11 10.4c-15.2 14.5-39.5 13.8-53.9-1.5z m220.2-25.6c-0.3 10.3-4.5 19.7-11.9 26.7l-63.2 59.7c-7.4 7-17.1 10.6-27.3 10.4-10.3-0.3-19.7-4.5-26.7-11.9-12.6-13.4-13.7-33.6-3.6-48.1l74.5-70.4c6.1-3.8 13.1-5.7 20-5.7 10.2 0 20.3 4 27.8 12 7.1 7.3 10.7 17 10.4 27.3z"
                    fill="currentColor" p-id="5925"></path>
                  <path
                    d="M944.9 280c-11-23.6-28.2-46-51.1-66.4l-0.3-0.2L837 167.5C789.7 125.2 745.2 104.7 701.2 104.7h-1c-45.7 0.3-89.9 23.9-131.1 70L424.6 334.8l-0.2 0.2-23 25.5c-1 1.2-1.9 2.4-2.5 3.8-5.4 6.4-11.1 13.3-16.4 19.9-7.2 9.1-7 21.7 0.7 33.7 12.4 19.3 41.2 35.3 73.6 35.3 7.5 0 15.2-0.9 22.9-2.7l1.7-0.4c18.1-4.4 35.2-8.5 53.6-24.3 18.4-15.9 36.5-42.4 58.7-85.8 20.3-40.3 52.8-35 104.1-23 18.2 4.3 37.1 8.7 54.7 9 22.1 0.4 39.3-5.6 52.6-18.4 6-5.7 6.2-15.2 0.4-21.2-5.7-6-15.2-6.2-21.2-0.4-17.1 16.4-46.1 9.7-79.7 1.8-24.2-5.6-49.2-11.5-72.9-8.7-28.8 3.3-50.6 19.2-64.9 47.2-20 39.3-36.4 63.6-51.5 76.7-12.9 11.1-24.7 14-41 17.9l-1.7 0.4c-25.7 6.2-45.2-4-52.4-8.7-7.2-4.7-11-9.4-12.3-12 17.5-21.8 38.8-45.5 39-45.7L591.4 194.6c35.9-40.1 71.6-59.8 109-60h0.7c35.9 0 75 18.7 116.1 55.4l0.3 0.2 56.5 45.9c38.6 34.6 57.3 73.5 55.7 115.4-1.6 40-22.1 83.1-59.5 124.9L789.7 569c-5.4 6.3-4.8 15.7 1.5 21.2 2.8 2.5 6.3 3.7 9.8 3.7 4.2 0 8.4-1.7 11.3-5.2l80.3-92.4c42.6-47.7 65.2-96 67.1-143.7 1-24.9-4-49.4-14.8-72.6z"
                    fill="currentColor" p-id="5926"></path>
                  <path
                    d="M627.8 411.8c-3.7 0-7.4-1.4-10.3-4.1l-7.6-7.3c-6-5.7-6.2-15.2-0.5-21.2s15.2-6.2 21.2-0.5l7.6 7.3c6 5.7 6.2 15.2 0.5 21.2-3 3.1-7 4.6-10.9 4.6z"
                    fill="currentColor" p-id="5927"></path>
                </svg>
                <span>客户管理</span>
              </template>
              <el-menu-item index="1-1">
                <svg t="1750647547944" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="23389">
                  <path
                    d="M658.525091 567.621818c111.755636 0 202.565818 90.763636 202.565818 202.565818 0 111.709091-90.763636 202.519273-202.565818 202.519273-111.709091 0-202.519273-90.763636-202.519273-202.519273s90.763636-202.565818 202.519273-202.565818z m-9.029818-306.920727v62.836364h6.981818c60.369455 0 114.269091 51.525818 118.458182 111.243636l0.279272 7.540364v97.745454c-27.927273-13.963636-69.818182-20.945455-104.727272-20.945454a265.309091 265.309091 0 0 0-265.448728 265.448727c0 37.701818 5.678545 75.403636 22.062546 108.032l5.864727 10.705454h-3.584c-15.034182 0.093091-72.378182 0.744727-79.499636 5.864728l-0.698182 1.117091v6.981818c0 20.945455-13.963636 34.909091-34.909091 34.909091-19.223273 0-32.581818-11.729455-34.676364-29.835637l-0.279272-5.12v-6.981818h-20.945455c-60.369455 0-114.269091-51.479273-118.458182-111.197091L139.636364 791.552V449.303273c0-60.369455 51.479273-114.269091 111.243636-118.458182l7.493818-0.279273h6.981818v-62.836363h48.872728v62.836363h286.394181v-69.818182h48.872728z m-14.382546 407.598545c-13.963636 0-20.945455 6.981818-20.945454 20.945455v100.770909c0.186182 4.189091 1.163636 5.12 6.981818 10.984727 0 6.981818 6.981818 6.981818 13.963636 6.981818h97.792c6.981818 0 20.945455-6.981818 20.945455-20.945454 0-13.963636-6.981818-20.945455-20.945455-20.945455h-76.8v-76.846545c0-13.963636-6.981818-20.945455-20.945454-20.945455zM321.210182 456.285091c-12.567273 0-25.134545 11.310545-27.508364 23.738182l-0.418909 4.189091v258.420363c0 13.963636 13.963636 27.927273 27.927273 27.927273 12.567273 0 25.134545-11.310545 27.554909-23.738182l0.418909-4.189091v-258.420363c0-13.963636-13.963636-27.927273-27.927273-27.927273zM537.739636 93.090909c60.229818 0 107.659636 44.916364 111.522909 103.982546l0.232728 7.77309V232.727273h-48.872728v-27.927273c0-32.861091-24.762182-59.578182-56.785454-62.557091l-6.050909-0.325818H377.064727c-32.861091 0-59.578182 24.762182-62.557091 56.785454l-0.325818 6.05091v27.973818h-48.872727v-27.927273c0-60.229818 44.916364-107.659636 103.982545-111.522909L377.111273 93.090909h160.628363z"
                    fill="currentColor" p-id="23390"></path>
                </svg>
                <span>入住管理</span>
              </el-menu-item>
              <el-menu-item index="1-2">
                <svg t="1750647587759" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="24562">
                  <path
                    d="M657.408 498.756267a162.6112 162.6112 0 0 1 162.986667 162.986666 156.296533 156.296533 0 0 1-162.986667 158.583467 160.802133 160.802133 0 1 1 0-321.604267z m-158.6176-295.150934a162.6112 162.6112 0 0 1 162.986667 162.986667 144.7936 144.7936 0 0 1-17.6128 74.888533 221.013333 221.013333 0 0 0-207.0528 233.506134 230.775467 230.775467 0 0 0 44.066133 114.551466h-92.501333c-92.535467 0-185.0368-4.437333-185.0368-39.799466 0-88.098133 88.098133-162.986667 211.626666-185.0368a26.624 26.624 0 0 0 13.2096-26.4192 46.626133 46.626133 0 0 0-22.016-39.662934 161.109333 161.109333 0 0 1-70.656-132.027733 159.914667 159.914667 0 0 1 162.986667-162.986667z m268.731733 458.171734l-52.872533-61.678934c-4.4032-4.4032-4.4032-4.4032-8.8064-4.4032h-4.4032c-4.4032 0-8.8064 8.8064-8.8064 13.2096v35.259734h-101.307733a26.4192 26.4192 0 1 0 0 52.872533h101.307733v39.662933c0 4.4032 4.4032 8.8064 8.8064 13.2096h4.4032c4.4032 0 8.8064 0 8.8064-4.4032l52.872533-66.082133a13.4144 13.4144 0 0 0 0-17.6128z"
                    fill="currentColor" p-id="24563"></path>
                </svg>
                <span>退住管理</span>
              </el-menu-item>
              <el-menu-item index="1-3">
                <svg t="1750647617044" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="25664">
                  <path
                    d="M367.4112 267.63264a128.73728 128.73728 0 0 0 125.25568-129.26976A126.48448 126.48448 0 0 0 367.4112 9.09312a129.4336 129.4336 0 0 0 0 258.8672v-0.32768zM978.3296 749.1584l-42.8032-129.024a18.80064 18.80064 0 0 0-24.3712-12.98432l-37.4784 12.94336-3.2768-11.10016a109.7728 109.7728 0 0 0-68.4032-70.12352l-30.88384-136.31488a59.71968 59.71968 0 0 0-39.07584-46.16192c-3.2768-1.8432-6.51264-1.8432-9.74848-3.6864l-211.59936-60.94848a123.41248 123.41248 0 0 0-96.01024-5.5296l-22.81472 7.3728c-34.07872 12.288-61.39904 38.5024-75.12064 72.04864l-96.0512 147.78368-154.70592 40.5504a64.38912 64.38912 0 0 0-43.90912 75.776l1.6384 7.3728a58.44992 58.44992 0 0 0 71.68 44.31872l182.35392-46.20288c10.19904-3.80928 19.57888-9.46176 27.72992-16.67072 5.20192-4.096 9.6256-9.09312 13.02528-14.78656l29.2864-44.35968 39.07584 77.29152c6.10304 17.6128 15.48288 33.87392 27.648 48.00512l-157.9008 185.83552a75.1616 75.1616 0 0 0 24.28928 99.77856l1.67936 1.8432a67.70688 67.70688 0 0 0 94.45376-24.04352l156.30336-183.99232 148.11136 191.44704a66.7648 66.7648 0 0 0 92.7744 27.68896l3.2768-1.80224a71.14752 71.14752 0 0 0 26.0096-96.0512l-27.72992-51.69152 191.16032-56.7296a23.79776 23.79776 0 0 0 11.4688-27.68896l-0.08192-0.16384z m-309.73952-68.1984l3.2768 11.10016-14.7456 5.5296-21.0944-38.74816c20.0704-34.07872 24.20736-75.20256 11.4688-112.64l-42.35264-86.4256 50.09408 14.7456 24.3712 93.7984a28.54912 28.54912 0 0 0 3.2768 11.10016 122.30656 122.30656 0 0 0-14.7456 101.62176l0.45056-0.08192z m19.53792-7.41376a94.208 94.208 0 0 1 8.35584-75.776c13.59872 13.76256 33.05472 19.98848 52.10112 16.75264l9.74848-1.8432a59.51488 59.51488 0 0 0 45.58848-51.69152c22.81472 10.07616 40.09984 29.65504 47.26784 53.53472l3.2768 11.0592-162.816 59.14624-3.52256-11.18208z"
                    fill="currentColor" p-id="25665"></path>
                </svg>
                <span>外出管理</span>
              </el-menu-item>
              <el-menu-item index="1-4">
                <svg t="1750765376376" class="icon" viewBox="0 0 1043 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="5793">
                  <path
                    d="M446.153116 0.067466c148.695217 0 269.12215 121.708789 269.122151 271.888259 0 90.809329-44.055343 171.161418-111.791277 220.614047v18.620635c202.937936 83.657926-27.863487 78.193174-27.526156 316.280933 0 71.514033 23.478192 137.563315 63.148241 190.659112l-549.106339-0.067466c-49.655027 0-89.93227-32.721044-89.93227-72.998287 0-199.767031 120.224536-370.523653 288.754777-436.438002v-16.124391a272.529187 272.529187 0 0 1-111.858743-220.614047c0-150.17947 120.4944-271.888259 269.257082-271.888259z m317.36039 867.883516h-23.748056c-7.151403 0-14.235341-5.937014-14.235341-14.235341v-110.374489c0-7.151403 5.937014-14.235341 14.235341-14.235341h23.748056c7.151403 0 14.235341 5.937014 14.235341 14.235341v110.374489c-1.214389 8.298327-7.151403 14.235341-14.235341 14.235341z m75.966794 0h-23.748056c-7.151403 0-14.235341-5.937014-14.235341-14.235341v-68.815391c0-7.151403 5.937014-14.235341 14.235341-14.23534h23.748056c7.151403 0 14.235341 5.937014 14.235341 14.23534v68.815391c0 8.298327-5.937014 14.235341-14.235341 14.235341z m78.328107 0h-23.748056c-7.151403 0-14.235341-5.937014-14.235341-14.235341v-149.50481c0-7.151403 5.937014-14.235341 14.235341-14.23534h23.748056c7.151403 0 14.235341 5.937014 14.235341 14.23534v149.50481c0 8.298327-7.151403 14.235341-14.235341 14.235341z m40.344709 41.559098h-253.942285c-5.937014 0-10.659639-5.937014-10.659638-10.659639v-1.214389c0-5.937014 5.937014-10.659639 10.659638-10.659639h253.942285c5.937014 0 10.659639 5.937014 10.659639 10.659639v1.214389c0 4.722625-4.722625 10.659639-10.659639 10.659639z m-128.657794-314.189484c-116.37897 0-214.339702 97.960733-214.339702 214.339702s97.960733 214.339702 214.339702 214.339702 214.339702-97.960733 214.339702-214.339702-97.960733-214.339702-214.339702-214.339702z"
                    p-id="5794" fill="curentColor"></path>
                </svg>
                <span>客户总览</span>
              </el-menu-item>
            </el-sub-menu>
            <el-sub-menu index="2">
              <template #title>
                <svg t="1750645700641" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="7846">
                  <path
                    d="M88 88a38.56 38.56 0 0 0-38.56 38.56V936h77.2v-116.08h770.32V936h77.2V318.88a38.56 38.56 0 1 0-77.04 0V665.6H126.88V126.72A38.56 38.56 0 0 0 88 88z m115.6 306.72a38.56 38.56 0 0 0-38.56 38.56v154.08a38.56 38.56 0 0 0 38.56 38.56h616.4a38.56 38.56 0 0 0 38.56-38.56V433.28a38.56 38.56 0 0 0-38.56-38.56H203.6z m0-113.92a38.56 38.56 0 1 0 0 77.04h231.2a38.56 38.56 0 1 0 0-77.04h-231.2z"
                    fill="currentColor" p-id="7847"></path>
                </svg>
                <span>床位管理</span>
              </template>
              <el-menu-item index="2-1">
                <svg t="1750646211923" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="9962">
                  <path
                    d="M360.1 319.7v-64H104.3v64h-32V79.8c0-8.8 7.2-16 16-16s16 7.2 16 16v143.9h255.9c17.7 0 32 14.3 32 32v64h-32.1zM232.2 143.8h111.9c26.5 0 48 21.5 48 48v16H232.2v-64z m-64 64c-17.7 0.4-32.3-13.6-32.7-31.3s13.6-32.3 31.3-32.7h1.4c17.7 0.4 31.7 15 31.3 32.7-0.4 17.1-14.2 30.9-31.3 31.3zM360.1 639.6v-64H104.3v64h-32V399.7c0-8.8 7.2-16 16-16s16 7.2 16 16v143.9h255.9c17.7 0 32 14.3 32 32v64h-32.1zM232.2 463.7h111.9c26.5 0 48 21.5 48 48v16H232.2v-64z m-64 64c-17.7 0.4-32.3-13.6-32.7-31.3s13.6-32.3 31.3-32.7h1.4c17.7 0.4 31.7 15 31.3 32.7-0.4 17.1-14.2 30.9-31.3 31.3zM360.1 959.6v-64H104.3v64h-32V719.7c0-8.8 7.2-16 16-16s16 7.2 16 16v143.9h255.9c17.7 0 32 14.3 32 32v64h-32.1z m-127.9-176h111.9c26.5 0 48 21.5 48 48v16H232.2v-64z m-64 64c-17.7 0.4-32.3-13.6-32.7-31.3-0.4-17.7 13.6-32.3 31.3-32.7h1.4c17.7 0.4 31.7 15 31.3 32.7-0.4 17.1-14.2 30.9-31.3 31.3zM631.9 319.7v-64c0-17.7 14.3-32 32-32h255.9V79.8c0-8.8 7.2-16 16-16s16 7.2 16 16v239.9h-32v-64H663.9v64h-32z m159.9-111.9H631.9v-16c0-26.5 21.5-48 48-48h111.9v64z m32.7-31.3c-0.4-17.7 13.6-32.3 31.3-32.7h1.4c17.7 0.4 31.7 15 31.3 32.7s-15 31.7-32.7 31.3c-17.1-0.4-30.9-14.2-31.3-31.3zM631.9 639.6v-64c0-17.7 14.3-32 32-32h255.9V399.7c0-8.8 7.2-16 16-16s16 7.2 16 16v239.9h-32v-64H663.9v64h-32z m159.9-111.9H631.9v-16c0-26.5 21.5-48 48-48h111.9v64z m32.7-31.3c-0.4-17.7 13.6-32.3 31.3-32.7h1.4c17.7 0.4 31.7 15 31.3 32.7s-15 31.7-32.7 31.3c-17.1-0.4-30.9-14.2-31.3-31.3zM631.9 959.6v-64c0-17.7 14.3-32 32-32h255.9V719.7c0-8.8 7.2-16 16-16s16 7.2 16 16v239.9h-32v-64H663.9v64h-32z m159.9-112H631.9v-16c0-26.5 21.5-48 48-48h111.9v64z m32.7-31.3c-0.4-17.7 13.6-32.3 31.3-32.7h1.4c17.7 0.4 31.7 15 31.3 32.7-0.4 17.7-15 31.7-32.7 31.3-17.1-0.4-30.9-14.2-31.3-31.3z"
                    p-id="9963" fill="currentColor"></path>
                </svg>
                <span>床位示图</span>
              </el-menu-item>
              <el-menu-item index="2-2">
                <svg t="1750646435128" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="11045">
                  <path
                    d="M921.6 972.8v-153.6H102.4v153.6H0V153.6h102.4v563.2h819.2V358.4h102.4v614.4h-102.4zM153.6 563.2V358.4a51.2 51.2 0 0 1 51.2-51.2h204.8l102.4 64V440.32L307.2 358.4 256 409.6l256 102.4h51.2V409.6h102.4c84.8384 0 204.8 119.9616 204.8 204.8v51.2H153.6v-102.4z m0-384A128 128 0 1 1 281.6 307.2 128 128 0 0 1 153.6 179.2z"
                    fill="currentColor" p-id="11046"></path>
                </svg>
                <span>床位记录</span>
              </el-menu-item>
            </el-sub-menu>
            <el-sub-menu index="3">
              <template #title>
                <svg t="1750646541961" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="12171">
                  <path d="M64 528z m8-48a48 48 0 0 0-8 32v-32z" fill="currentColor" p-id="12172"></path>
                  <path
                    d="M96 480a32 32 0 0 0-32 32v16a448 448 0 0 0 896 0v-16a32 32 0 0 0-32-32z m800 144a313.6 313.6 0 0 1-10.88 32 400 400 0 0 1-746.24 0A313.6 313.6 0 0 1 128 624a391.2 391.2 0 0 1-16-96h800a391.2 391.2 0 0 1-16 96z m16 0H112v32h800z"
                    fill="currentColor" p-id="12173"></path>
                  <path
                    d="M336 432a16 16 0 0 1-8.8-29.28c3.52-2.56 35.04-26.4 10.56-75.52-34.88-69.6-2.08-153.6 0-157.12a16 16 0 0 1 12.64-10.08 16 16 0 0 1 17.6 21.92c0 0.8-28.96 74.24 0 130.88 30.4 60.64 0 102.72-21.44 116.48A15.04 15.04 0 0 1 336 432z m176-96a16 16 0 0 1-12.48-6.08c-4.16-4.96-39.68-51.04-30.4-93.12a62.88 62.88 0 0 1 35.68-43.04 32 32 0 0 0 18.24-21.28c7.36-27.68-15.04-69.76-24.32-83.68a16 16 0 0 1 26.56-17.6c4.32 6.24 40.96 64 28.64 109.6a64 64 0 0 1-34.72 41.44 32 32 0 0 0-18.88 21.44c-5.12 23.2 16 56.48 24.16 66.4A16 16 0 0 1 512 336z m148.96 96a16 16 0 0 1-8.8-29.28c3.52-2.4 34.24-25.6 11.68-73.28-69.12-70.88-27.2-124.32-9.12-147.36 2.24-2.88 5.28-6.72 6.56-8.64a16 16 0 1 1 32 2.56 44.48 44.48 0 0 1-13.12 25.92c-18.24 23.2-43.2 55.04 8.48 106.72a16 16 0 0 1 3.04 4.16c30.24 60.64 0 102.72-21.44 116.48a16 16 0 0 1-9.28 2.72z"
                    fill="currentColor" p-id="12174"></path>
                </svg>
                <span>膳食管理</span>
              </template>
              <el-menu-item index="3-1">
                <svg t="1750646713284" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="13681">
                  <path
                    d="M840 224H752v-40c0-12.8-11.2-24-24-24s-24 11.2-24 24V224H320v-40c0-12.8-11.2-24-24-24s-24 11.2-24 24V224h-88C153.6 224 128 249.6 128 280v544c0 30.4 25.6 56 56 56h656c30.4 0 56-25.6 56-56v-544c0-30.4-25.6-56-56-56z m8 600c0 4.8-3.2 8-8 8h-656c-4.8 0-8-3.2-8-8v-544c0-4.8 3.2-8 8-8H272v48c0 12.8 11.2 24 24 24S320 332.8 320 320v-48h384v48c0 12.8 11.2 24 24 24S752 332.8 752 320v-48h88c4.8 0 8 3.2 8 8v544z"
                    fill="currentColor" p-id="13682"></path>
                  <path
                    d="M776 416c0-12.8-11.2-24-24-24H272c-12.8 0-24 11.2-24 24s11.2 24 24 24h480c12.8 0 24-11.2 24-24zM760 544H624c-12.8 0-24 11.2-24 24S611.2 592 624 592h136c12.8 0 24-11.2 24-24s-11.2-24-24-24zM760 688H624c-12.8 0-24 11.2-24 24S611.2 736 624 736h136c12.8 0 24-11.2 24-24s-11.2-24-24-24z"
                    fill="currentColor" p-id="13683"></path>
                  <path
                    d="M324.8 496c-35.2 0-60.8 35.2-60.8 75.2 0 28.8 14.4 56 35.2 67.2l-8 89.6c-3.2 22.4 14.4 40 35.2 40 20.8 0 38.4-19.2 35.2-40l-8-91.2v-1.6c19.2-12.8 33.6-38.4 33.6-65.6-1.6-38.4-27.2-73.6-62.4-73.6z m12.8 256c-8 4.8-16 4.8-24 0s-11.2-12.8-11.2-22.4l8-86.4c4.8 1.6 8 1.6 12.8 1.6 6.4 0 11.2-1.6 16-3.2l8 88c1.6 9.6-1.6 17.6-9.6 22.4z m-12.8-120c-25.6 0-48-25.6-48-60.8 0-35.2 22.4-60.8 48-60.8s48 25.6 48 60.8c0 35.2-22.4 60.8-48 60.8zM524.8 507.2c-1.6-1.6-4.8-1.6-6.4 0-1.6 1.6-3.2 3.2-3.2 6.4v72c0 16-9.6 32-24 40s-32 8-46.4 0c-14.4-8-24-24-24-40v-72c0-1.6 0-3.2-1.6-4.8-1.6-1.6-3.2-1.6-4.8-1.6s-3.2 0-4.8 1.6c-1.6 1.6-1.6 3.2-1.6 4.8v72c0 24 14.4 43.2 33.6 52.8l-8 89.6c-1.6 22.4 14.4 40 35.2 40 20.8 0 38.4-19.2 35.2-40l-8-89.6c19.2-9.6 32-30.4 32-52.8v-72c0-3.2-1.6-4.8-3.2-6.4zM481.6 752c-8 4.8-16 4.8-24 0s-11.2-12.8-11.2-22.4l8-86.4c4.8 1.6 9.6 1.6 14.4 1.6 4.8 0 11.2-1.6 16-1.6l8 86.4c0 9.6-4.8 17.6-11.2 22.4z"
                    fill="currentColor" p-id="13684"></path>
                  <path
                    d="M481.6 596.8c1.6 1.6 4.8 1.6 6.4 0 1.6-1.6 3.2-3.2 3.2-6.4v-88c0-1.6 0-3.2-1.6-4.8-1.6-1.6-3.2-1.6-4.8-1.6s-3.2 0-4.8 1.6c-1.6 1.6-1.6 3.2-1.6 4.8V592c0 1.6 1.6 3.2 3.2 4.8zM451.2 598.4c3.2 0 6.4-3.2 6.4-6.4v-88c0-1.6 0-3.2-1.6-4.8s-3.2-1.6-4.8-1.6c-1.6 0-3.2 0-4.8 1.6-1.6 1.6-1.6 3.2-1.6 4.8V592c-1.6 3.2 1.6 6.4 6.4 6.4z"
                    fill="currentColor" p-id="13685"></path>
                </svg>
                <span>膳食日历</span>
              </el-menu-item>
              <el-menu-item index="3-2">
                <svg t="1750646845550" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="14679">
                  <path
                    d="M575.264647 829.4081c0-124.411215 98.890966-223.302181 223.302181-223.302181 35.090343 0 66.990654 9.570093 98.890966 22.330218 3.190031-3.190031 6.380062-9.570093 9.570093-9.570093 111.65109-73.370717 146.741433-223.302181 76.560748-338.143303-44.660436-79.750779-130.791277-127.601246-220.11215-127.601246-12.760125 0-25.520249-6.380062-31.900311-19.140187-44.660436-82.94081-130.791277-133.981308-223.302181-133.981308-95.700935 0-181.831776 51.040498-223.30218 133.981308-6.380062 9.570093-19.140187 19.140187-31.900312 19.140187-140.361371 0-255.202492 118.031153-252.012461 258.392524 0 82.94081 41.470405 159.501558 108.461059 207.352025 9.570093 6.380062 15.950156 15.950156 15.950156 28.71028v325.383178c0 28.71028 6.380062 51.040498 54.23053 51.040498h504.024922c-63.800623-41.470405-108.461059-111.65109-108.46106-194.5919z m-191.401869-156.311527c-3.190031-3.190031-6.380062-6.380062-9.570093-12.760124-12.760125-19.140187-3.190031-47.850467 15.950156-57.420561 15.950156-9.570093 31.900312-6.380062 44.660436 3.190031 44.660436 31.900312 102.080997 31.900312 146.741433 0 12.760125-9.570093 31.900312-9.570093 44.660436-3.190031 3.190031 3.190031 9.570093 6.380062 12.760125 9.570093 15.950156 19.140187 12.760125 44.660436-6.380063 60.610592-73.370717 54.23053-175.451713 54.23053-248.82243 0z"
                    fill="currentColor" p-id="14680"></path>
                  <path
                    d="M926.168074 765.607477h-3.190031c-3.190031 0-6.380062-3.190031-9.570093-6.380063-3.190031-3.190031-3.190031-9.570093 0-12.760124 6.380062-9.570093 6.380062-22.330218-3.190031-31.900312-6.380062-6.380062-15.950156-15.950156-25.52025-22.330218-15.950156-9.570093-31.900312-19.140187-47.850467-22.330218-9.570093-3.190031-22.330218 3.190031-28.71028 12.760125-3.190031 3.190031-6.380062 6.380062-12.760125 6.380062s-9.570093-3.190031-12.760125-6.380062c-6.380062-9.570093-15.950156-15.950156-28.71028-12.760125-15.950156 3.190031-35.090343 12.760125-47.850467 22.330218-9.570093 6.380062-19.140187 12.760125-25.520249 22.330218-6.380062 9.570093-9.570093 22.330218-3.190032 31.900312 3.190031 3.190031 3.190031 9.570093 0 12.760124-3.190031 3.190031-6.380062 6.380062-9.570093 6.380063h-3.190031c-12.760125 0-22.330218 6.380062-25.520249 19.140187-9.570093 28.71028-9.570093 60.610592 0 89.320872 3.190031 9.570093 12.760125 19.140187 25.520249 19.140187h3.190031c3.190031 0 6.380062 3.190031 9.570093 6.380062 3.190031 3.190031 0 9.570093 0 12.760125-6.380062 9.570093-6.380062 22.330218 3.190032 31.900311 9.570093 9.570093 15.950156 15.950156 25.520249 22.330218 15.950156 9.570093 31.900312 19.140187 47.850467 22.330218h6.380062c9.570093 0 19.140187-6.380062 22.330218-12.760124 3.190031-3.190031 6.380062-6.380062 12.760125-6.380063s9.570093 3.190031 12.760125 6.380063c3.190031 9.570093 12.760125 12.760125 22.330218 12.760124h6.380062c15.950156-3.190031 35.090343-12.760125 47.850467-22.330218 9.570093-6.380062 19.140187-12.760125 25.52025-22.330218 6.380062-9.570093 9.570093-22.330218 3.190031-31.900311-3.190031-3.190031-3.190031-9.570093 0-12.760125 3.190031-3.190031 6.380062-6.380062 9.570093-6.380062h3.190031c12.760125 0 22.330218-6.380062 25.520249-19.140187 9.570093-28.71028 9.570093-60.610592 0-89.320872-3.190031-9.570093-12.760125-19.140187-25.520249-19.140187z m-127.601246 118.031152c-28.71028 0-54.23053-22.330218-54.230529-54.230529s22.330218-54.23053 54.230529-54.23053 54.23053 22.330218 54.23053 54.23053-25.520249 54.23053-54.23053 54.230529z"
                    fill="currentColor" p-id="14681"></path>
                </svg>
                <span>菜品管理</span>
              </el-menu-item>
              <el-menu-item index="3-3">
                <svg t="1750733008206" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="4806">
                  <path
                    d="M855.936 472.96l-53.504-41.152a34.112 34.112 0 0 0-47.36 6.208L467.648 811.52a34.112 34.112 0 0 0 6.208 47.296l53.504 41.152a34.112 34.112 0 0 0 47.36-6.208l287.488-373.568a33.28 33.28 0 0 0-6.208-47.36z m-18.56 254.336a50.048 50.048 0 0 0 70.72-9.216 50.048 50.048 0 0 0-9.216-70.784 50.048 50.048 0 0 0-70.784 9.28 50.048 50.048 0 0 0 9.28 70.72z m35.136 175.744a50.048 50.048 0 0 0 70.72-9.216 50.048 50.048 0 0 0-9.216-70.72 50.048 50.048 0 0 0-70.784 9.216 50.048 50.048 0 0 0 9.28 70.72z"
                    fill="currentColor" p-id="4807"></path>
                  <path
                    d="M573.824 200l204.352 345.664-199.424 259.392-388.224-104.192q-85.568-27.776-112.256-113.728-26.624-85.952 28.16-157.312l184.576-240.128Q345.6 118.72 435.072 121.984q89.472 3.2 138.752 78.08z m-58.048 38.208q-29.568-44.8-83.2-46.784-53.76-1.92-86.4 40.64L161.472 472.192q-32.896 42.816-16.896 94.336 16 51.584 67.328 68.288L553.6 723.84l139.328-181.312-177.152-304.32z"
                    fill="currentColor" p-id="4808"></path>
                  <path d="M676.16 831.04a45.184 45.184 0 1 0 90.368 0 45.184 45.184 0 1 0-90.368 0Z" fill="currentColor"
                    p-id="4809"></path>
                </svg>
                <span>客户配置</span>
              </el-menu-item>
            </el-sub-menu>
            <el-sub-menu index="4">
              <template #title>
                <svg t="1750646982996" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="15728">
                  <path
                    d="M591.618 124.015h95.484l4.504-52.997-52.246-8.752-52.246 8.752 4.504 52.997zM218.154 571.961h77.866c-17.246-29.994-60.491-29.994-77.866 0zM73.548 991.667V571.961h112.115c16.746-53.368 84.616-70.493 124.486-30.494 8.373 8.372 14.872 18.87 18.497 30.494h120.61c3.747-53.746 14.373-136.232 29.123-183.729 6.5-20.996 37.997-29.124 58.239-37.868 8.63-3.754 33.999-6.879 43.001-9.375 2.874 23.875 20.371 46.241 42.744 69.615l-21.372 28.874c-2.002 2.623-2.875 5.748-2.875 8.873v123.735h29.996v-118.86l47.241-64.115c12.75-15.874 21.623-31.625 23.625-48.121 8.995 2.496 34.371 5.62 42.994 9.375 20.25 8.745 51.746 16.997 58.245 37.868 14.744 47.62 25.37 130.112 29.123 183.729h121.11V991.79h-44.996V616.958h-787.04v374.831H73.548v-0.122z m89.864 0h44.996v-97.493h610.931v97.493h44.996V849.185H163.412v142.482z m545.063-775.042c-33.492-1.623-76.736-32.748-85.988-62.614h-1.123c-7.129 26.742-27.372 42.243-51.245 46.87-1.124 49.365 14.371 82.492 33.248 101.983-23.002 3.003-62.743 4.254-77.366 3.003-32.125-61.37-13.127-154.609 33.993-200.729l-3.876-45.368c-0.622-8.124 5.248-15.251 13.249-16.125l67.492-11.247c1.752-0.25 3.503-0.25 5.254 0l67.992 11.369c7.745 1.251 13.121 8.252 12.499 16.003l-3.875 45.368c46.991 45.869 66.117 139.359 33.992 200.729-11.62 1.623-57.245 0-77.366-3.003 14.25-14.744 31.747-44.239 33.12-86.239z m0 0"
                    fill="currentColor" p-id="15729"></path>
                  <path
                    d="M182.911 520.216c-5.878 5.878-15.374 5.878-21.251 0-5.871-5.87-5.871-15.372 0-21.242 24.497-24.376 58.124-39.499 95.369-39.499 18.12 0 35.617 3.626 51.49 10.247 16.624 6.877 31.496 16.875 43.873 29.252 5.871 5.871 5.871 15.372 0 21.242-5.877 5.878-15.373 5.878-21.25 0a106.551 106.551 0 0 0-33.992-22.872c-12.249-5.122-25.877-7.873-40.121-7.873-28.872 0.001-55.12 11.748-74.118 30.745z m302.841 133.989h52.496v52.74l52.491-0.251v52.747h-52.491v52.491h-52.496v-52.491h-52.496v-52.496h52.496v-52.74z m0 0"
                    fill="currentColor" p-id="15730"></path>
                </svg>
                <span>护理管理</span>
              </template>
              <el-menu-item index="4-1">
                <svg t="1750647135971" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="16800">
                  <path
                    d="M626.432 800.7168H228.2496a24.8832 24.8832 0 0 1-24.8832-24.8832V228.2496c0-13.7728 11.1104-24.8832 24.8832-24.8832h298.5984v124.416c0 27.4944 22.272 49.8176 49.7664 49.8176h124.416v149.3504a24.8832 24.8832 0 1 0 49.7664 0v-212.992c0-6.6048-2.56-12.9024-7.2704-17.5616L608.768 160.9216A25.0368 25.0368 0 0 0 591.104 153.6H203.3664A49.8176 49.8176 0 0 0 153.6 203.3664V800.768c0 27.4432 22.2208 49.7664 49.7664 49.7664h423.0656a24.8832 24.8832 0 1 0 0-49.7664z m-24.9344-472.8832a24.8832 24.8832 0 0 1-24.8832-24.8832V203.3664l124.416 124.416h-99.5328z"
                    fill="currentColor" p-id="16801"></path>
                  <path
                    d="M526.848 626.4832H277.248a24.8832 24.8832 0 1 0 0 49.7664h249.6a24.8832 24.8832 0 1 0 0-49.7664z m48.9984-149.3504H277.248a24.8832 24.8832 0 1 0 0 49.8176h298.5984a24.8832 24.8832 0 1 0 0-49.8176zM277.248 377.6h149.2992a24.8832 24.8832 0 1 0 0-49.7664H277.248a24.8832 24.8832 0 1 0 0 49.7664z m387.1744 224h-37.2224v148.992h93.0304v-37.3248h-55.808V601.6z m153.6 49.8688l-31.5392 54.6816-31.488-54.6816-32.256 18.5856 46.4896 80.64h34.5088l46.592-80.64-32.256-18.5856z"
                    fill="currentColor" p-id="16802"></path>
                </svg>
                <span>护理级别</span>
              </el-menu-item>
              <el-menu-item index="4-2">
                <svg t="1750647319324" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="21199">
                  <path
                    d="M657.1 269.7c63.8 0 115.1-42.2 127-107.1 3.3-18.2 10.2-29 25-39.5 29.2-20.7 36.4-60.2 19.2-89.1C808.7 1.1 774-7.7 738.6 6.7c-14.6 5.8-32.9 3.1-49.5 3.1-8.4 0-16.8-4.5-25.4-4.9-72.7-3.4-137.6 55.2-139.1 125-2 79.4 55.5 139.8 132.5 139.8zM554.2 631.6c40.6-26.3 82.2-51 124.6-77 0 25.8 0.2 50.1 0 74.1 0 17.3 8.4 25.1 25 25.1 71.6 0 143.4 0.5 214.9-0.5 21.4-0.2 35.3-13.5 32.2-36.1-14.6-107.1-43.7-209.9-97-303.9-26.5-46.9-87-60.4-121.9-24.9-84.1 85.7-165.4 174.1-246.7 262.6-21.2 23.1-16.8 42 9.7 72.5 17.7 20.4 36.5 22.9 59.2 8.1z m402.7 136.6c1.3-42.9-3.5-51-45.7-51.2-126.1-0.5-252-1.6-378.1 0.2-20.1 0.2-44 10.1-59.6 23.3-49.3 41.3-94.8 87.5-143.3 129.5-11.9 10.3-30.3 17.5-46.2 18.4-46.4 2.7-93 1.6-139.6 1.6-80.6 0.2-80.6 0-80.2 81.7 0.2 41.8 8.4 50.7 49 51 71.8 0.4 143.6-2.5 215.1 0.9 55.4 2.7 100.5-11.2 141.8-50.3 19.4-18.4 50.6-30.7 77.5-33 59.6-4.9 119.9-1.6 180-1.6v2c57.2 0 114.4-0.5 171.6 0.2 47 0.9 61.2-12.3 60.7-60.6-0.4-37.3-4.1-74.8-3-112.1z m-716.8 53.9c63 0.7 121.3-58.4 121.3-122.3-0.2-65.5-55.9-122.1-120.6-122.6-68.7-0.4-123 53.6-122.8 122.1 0.2 69.6 52.3 121.9 122.1 122.8z"
                    p-id="21200" fill="currentColor"></path>
                </svg>
                <span>护理项目</span>
              </el-menu-item>
              <el-menu-item index="4-3">
                <svg t="1750647237008" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="18985">
                  <path
                    d="M336.2816 452.4032c48.9472 0 92.16-22.9376 118.5792-58.5728-25.1904-29.696-40.1408-67.584-40.1408-108.9536 0-27.4432 6.7584-53.6576 18.6368-76.8-25.8048-22.1184-59.8016-35.6352-97.0752-35.6352-80.4864 0-145.8176 62.464-145.8176 139.8784-0.2048 77.6192 65.1264 140.0832 145.8176 140.0832z m-68.1984 299.8272v19.2512c0-117.3504 81.92-217.2928 196.4032-256.4096-32.9728-15.1552-70.2464-23.7568-109.568-23.7568h-32.1536c-134.144 0-243.9168 98.9184-243.9168 220.5696v-15.36c0 63.8976-5.12 115.9168 65.1264 115.9168h124.7232c-1.024-18.2272-0.6144-38.7072-0.6144-60.2112zM638.1568 458.752c97.28 0 176.128-77.824 176.128-173.6704s-78.848-173.6704-176.128-173.6704-176.128 77.824-176.128 173.6704 78.848 173.6704 176.128 173.6704z m0-290.6112c65.9456 0 119.6032 52.4288 119.6032 116.9408s-53.6576 116.9408-119.6032 116.9408-119.6032-52.4288-119.6032-116.9408 53.6576-116.9408 119.6032-116.9408zM943.9232 761.856v19.2512c0-151.1424-130.048-273.8176-288.9728-273.8176h-38.2976c-158.9248 0-288.9728 122.6752-288.9728 273.8176V761.856c0 79.0528-5.9392 143.9744 77.2096 143.9744h472.4736c83.1488 0 66.56-64.7168 66.56-143.9744z m-55.5008 75.5712c-0.4096 5.12-0.8192 8.8064-1.2288 11.0592-2.2528 0.4096-5.5296 0.6144-9.8304 0.6144H404.8896c-9.216 0-13.7216-1.2288-15.5648-1.8432-0.8192-1.8432-2.6624-6.7584-3.8912-17.6128-1.4336-13.312-1.4336-30.3104-1.4336-48.5376h0.2048c0-57.344 23.9616-111.4112 67.1744-152.3712 21.2992-20.2752 46.2848-36.2496 74.1376-47.3088 28.8768-11.4688 59.5968-17.408 91.136-17.408h38.0928v-0.2048c31.5392 0 62.2592 5.9392 91.136 17.408 27.648 11.0592 52.6336 27.0336 74.1376 47.3088 43.4176 40.96 67.1744 95.0272 67.1744 152.3712h0.2048c0.2048 5.7344 0.4096 11.264 0.4096 16.7936 0.6144 14.9504 1.2288 28.8768 0.6144 39.7312z m-89.9072-140.0832H755.712v-45.4656c0-11.4688-9.4208-20.8896-21.0944-20.8896h-10.6496c-11.6736 0-21.0944 9.4208-21.0944 20.8896v45.4656h-45.056c-11.6736 0-21.0944 9.4208-21.0944 20.8896v10.4448c0 11.4688 9.4208 20.8896 21.0944 20.8896h45.056v41.1648c0 11.4688 9.4208 20.8896 21.0944 20.8896h10.6496c11.6736 0 21.0944-9.4208 21.0944-20.8896V749.568h42.8032c11.6736 0 21.0944-9.4208 21.0944-20.8896v-10.4448c0-11.4688-9.4208-20.8896-21.0944-20.8896z"
                    p-id="18986" fill="currentColor"></path>
                </svg>
                <span>客户配置</span>
              </el-menu-item>
              <el-menu-item index="4-4">
                <svg t="1750763518242" class="icon" viewBox="0 0 1170 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="4621">
                  <path
                    d="M946.102181 183.150315L627.711552 630.711138l2.633141 131.657049 129.682193-35.47426 318.463772-447.414538-132.388477-96.329074z m38.180545-53.394248L1037.457545 54.857835l132.388477 96.329074-53.394248 74.751947-132.169048-96.255931z"
                    fill="currentColor" p-id="4622"></path>
                  <path
                    d="M796.159431 754.907621l-204.799853 56.539388-5.924568-202.386141 380.562014-529.553908A111.689063 111.689063 0 0 0 858.69653 0.000731H113.371348C51.346249 0.000731 1.023999 49.372125 1.023999 110.300081v802.961712c0 61.001099 50.32225 110.372493 112.420491 110.372493h745.178897c29.769122 0 58.367958-11.702849 79.433086-32.32912 21.138271-20.699414 32.914262-48.786251 32.914262-78.043373V511.634652l-174.811304 243.272969zM172.763305 193.536593H624.639554c29.330265 0 53.101676 23.332555 53.101676 52.077677a52.66282 52.66282 0 0 1-53.101676 52.15082H172.763305a52.66282 52.66282 0 0 1-53.101676-52.15082 52.66282 52.66282 0 0 1 53.101676-52.077677z m237.714116 622.44527h-237.714116a52.66282 52.66282 0 0 1-53.101676-52.15082 52.66282 52.66282 0 0 1 53.101676-52.077677h237.714116c29.330265 0 53.101676 23.259412 53.101676 52.077677a52.66282 52.66282 0 0 1-53.101676 52.077677z m94.500504-259.144958H172.763305a52.66282 52.66282 0 0 1-53.101676-52.15082 52.66282 52.66282 0 0 1 53.101676-52.077677h332.21462a52.66282 52.66282 0 0 1 53.101676 52.077677 52.66282 52.66282 0 0 1-53.101676 52.15082z"
                    fill="currentColor" p-id="4623"></path>
                </svg>
                <span>护理记录</span>
              </el-menu-item>
            </el-sub-menu>
            <el-sub-menu index="6">
              <template #title>
                <svg t="1750817152420" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="3262">
                  <path
                    d="M509.71 884.97c-2.88-0.01-285.22-1.16-341.54-0.16-0.51-2.71-0.88-6.02-0.85-8.98V138.9h572.06l0.97-0.03v285.27c0 20.56 15.54 37.28 34.65 37.28s34.65-16.72 34.65-37.28V134.26l-0.16-3.46-0.02-0.28c-1.77-19.02-9.98-36.27-23.11-48.56-13.26-12.42-30.32-18.66-48.05-17.61l-575.1 0.01c-0.43-0.01-0.85-0.01-1.28-0.01-16.9 0-32.83 7.12-44.86 20.05-11.93 12.82-18.69 30.01-19.05 48.39v0.06l0.01 742.1c-0.17 7.17 0.14 43.08 21.6 66.26 11.12 12.01 25.54 18.35 41.7 18.35 0.85 0 1.7-0.02 2.55-0.05 23.92-0.99 236.51-0.41 345.61 0.03 19.41-0.01 34.67-16.33 34.74-37.14 0.07-20.57-15.42-37.35-34.52-37.43z"
                    fill="currentColor" p-id="3263"></path>
                  <path
                    d="M308.9 206.67c-19.11 0-34.65 16.72-34.65 37.28s15.54 37.28 34.65 37.28h283.02c19.11 0 34.65-16.72 34.65-37.28s-15.54-37.28-34.65-37.28H308.9zM893.38 590.54c-11.64-13.46-25.33-23.93-40.69-31.13-15.08-7.07-31.03-10.66-47.42-10.66s-32.34 3.59-47.42 10.66c-9.21 4.32-17.89 9.86-25.84 16.5-7.96-6.64-16.63-12.18-25.84-16.5-15.08-7.07-31.03-10.66-47.42-10.66s-32.34 3.59-47.42 10.66c-15.36 7.2-29.06 17.68-40.71 31.15-22.31 25.81-34.6 59.85-34.6 95.84s12.29 70.02 34.61 95.84l119.05 137.68c10.92 12.63 26.35 19.87 42.33 19.87 15.98 0 31.41-7.24 42.33-19.87l119.07-137.7c22.31-25.81 34.6-59.85 34.6-95.84-0.01-35.97-12.31-70.01-34.63-95.84zM732 867.65l-38.33-44.33-23.68-27.4-32.13-37.15-20.27-23.44c-0.05-0.06-0.1-0.13-0.16-0.19-22.99-27.47-22.94-70.3 0.17-97.7 11.05-12.76 25.66-19.8 41.14-19.8 15.29 0 29.72 6.87 40.72 19.33 0.14 0.16 0.28 0.31 0.42 0.48l32.11 37.15 0.01-0.01 32.12-37.14c11.05-12.77 25.66-19.81 41.15-19.81 15.23 0 29.61 6.82 40.6 19.2 0.16 0.19 0.33 0.37 0.49 0.56 23.2 27.47 23.2 70.51 0.05 97.93l-68.22 78.9L732 867.65z m0 66z"
                    fill="currentColor" p-id="3264"></path>
                </svg>
                <span>健康管家</span>
              </template>
              <el-menu-item index="6-1">
                <svg t="1750668992725" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="4600">
                  <path
                    d="M485.312 0c132.896 0.32 240.32 109.472 240 243.744a244.576 244.576 0 0 1-62.176 162.496 316.896 316.896 0 0 0-177.28 79.936h-0.544c-132.832 0-240.512-108.832-240.512-243.04S352.48 0.128 485.312 0.096V0z m240 485.056c147.296 0 266.688 120.64 266.688 269.44C992 903.36 872.608 1024 725.312 1024s-266.688-120.64-266.688-269.472 119.392-269.472 266.688-269.472zM458.624 512c17.248 0 34.464 1.056 51.584 3.136-130.88 120-140.64 324.512-21.856 456.768 7.68 8.512 15.776 16.64 24.288 24.256-18.016 0.64-36 0.928-53.952 0.928A1736.736 1736.736 0 0 1 32 943.2v-0.032C32 705.056 223.04 512 458.656 512h-0.032z m417.408 139.36a105.92 105.92 0 0 0-151.008 0l-3.872-3.616a105.92 105.92 0 0 0-150.72 6.496 108.608 108.608 0 0 0 3.712 149.728l94.336 95.296a79.424 79.424 0 0 0 113.088 0l94.464-95.488a108.608 108.608 0 0 0 0-152.576v0.16z m-222.912 111.04a26.464 26.464 0 0 1 35.2-2.24l2.496 2.272 34.496 34.816 34.496-34.816 2.496-2.24a26.464 26.464 0 0 1 32.704 0l2.496 2.24 2.24 2.56a27.2 27.2 0 0 1 0 33.024l-2.24 2.56-53.312 53.856-2.528 2.24a26.464 26.464 0 0 1-32.672 0l-2.528-2.24-53.312-53.888-2.24-2.56a27.168 27.168 0 0 1 2.24-35.52l-0.032-0.064zM485.28 0c132.544 0 240 108.576 240 242.528 0 133.92-107.456 242.528-240 242.528-132.576 0-240-108.608-240-242.56 0-133.92 107.424-242.496 240-242.496z"
                    p-id="4601" fill="currentColor"></path>
                </svg>
                <span>设置服务</span>
              </el-menu-item>
              <el-menu-item index="6-2">
                <svg t="1750669065187" class="icon" viewBox="0 0 1024 1024" version="1.1"
                  xmlns="http://www.w3.org/2000/svg" p-id="6174">
                  <path
                    d="M527.189333 467.2c-3.242667 0-6.570667-1.28-9.045333-3.754667L424.789333 370.176a68.923733 68.923733 0 0 1-20.309333-49.066667c0-18.602667 7.168-36.010667 20.224-49.066666 27.050667-27.050667 71.082667-27.050667 98.133333 0 1.536 1.536 2.56 3.413333 3.157334 5.290666l5.290666-5.290666c27.050667-27.050667 71.082667-27.050667 98.133334 0a68.923733 68.923733 0 0 1 20.309333 49.066666c0 18.602667-7.168 36.010667-20.309333 49.066667L536.234667 463.445333c-2.474667 2.474667-5.802667 3.754667-9.045334 3.754667zM473.856 277.333333c-11.178667 0-22.442667 4.266667-30.976 12.8-8.192 8.192-12.8 19.2-12.8 30.976s4.522667 22.784 12.8 30.976l84.309333 84.224 84.309334-84.224c8.192-8.192 12.8-19.2 12.8-30.976s-4.522667-22.698667-12.8-30.976c-17.066667-17.066667-44.885333-17.066667-61.952 0l-53.333334 53.333334c-5.034667 5.034667-13.141333 5.034667-18.090666 0a12.714667 12.714667 0 0 1 0-18.090667l32-32a12.544 12.544 0 0 1-5.290667-3.157333c-8.533333-8.618667-19.797333-12.885333-30.976-12.885334z"
                    fill="currentColor" p-id="6175"></path>
                  <path
                    d="M527.274667 711.594667c-37.376 0-87.125333-1.365333-152.405334-5.376-7.082667-0.426667-12.458667-6.485333-11.946666-13.568 0.426667-7.082667 6.485333-12.458667 13.568-11.946667 115.541333 7.168 181.333333 5.888 216.234666 3.498667 25.514667-1.706667 49.92-10.666667 70.570667-25.941334 47.616-35.157333 82.517333-66.645333 98.474667-88.490666 13.312-18.346667 25.6-47.274667 35.669333-83.626667 2.133333-7.765333-1.962667-13.568-6.485333-16.384-2.133333-1.365333-9.642667-5.205333-16.981334 1.194667-0.256 0.170667-0.426667 0.426667-0.512 0.512-27.562667 24.661333-89.856 94.976-90.453333 95.744a12.8256 12.8256 0 0 1-19.2-16.981334c2.56-2.901333 63.914667-72.192 92.330667-97.621333l0.682666-0.597333c13.824-12.117333 32.512-13.568 47.786667-3.925334 15.530667 9.728 22.442667 27.392 17.578667 44.885334-11.008 39.850667-24.32 70.741333-39.594667 91.818666-22.357333 30.72-68.864 68.096-103.936 94.122667a159.172267 159.172267 0 0 1-84.053333 30.890667c-15.957333 0.938667-37.802667 1.792-67.328 1.792z"
                    fill="currentColor" p-id="6176"></path>
                  <path
                    d="M603.648 610.474667H499.456c-7.082667 0-12.8-5.717333-12.8-12.8s5.717333-12.8 12.8-12.8h102.656c4.778667-1.28 24.149333-7.168 49.749333-23.893334 10.069333-6.570667 15.36-14.250667 14.933334-21.589333-0.426667-6.314667-4.864-11.178667-8.789334-13.141333-13.653333-6.485333-40.874667-0.938667-67.157333 4.437333-35.584 7.338667-77.909333-1.536-79.701333-1.877333-1.024-0.256-2.048-0.597333-2.986667-1.024-20.992-10.410667-47.018667-21.077333-90.368-17.152-53.077333 4.778667-104.874667 49.834667-105.386667 50.261333-5.290667 4.693333-13.397333 4.181333-18.090666-1.109333s-4.181333-13.397333 1.194666-18.090667c2.389333-2.048 58.624-51.029333 119.978667-56.576 52.565333-4.778667 84.736 10.24 102.485333 18.944 7.338667 1.365333 40.789333 7.168 67.754667 1.536 38.570667-7.850667 63.488-11.946667 83.370667-2.389333 13.141333 6.314667 22.357333 19.882667 23.296 34.474666 0.682667 9.813333-1.962667 28.672-26.453334 44.629334-33.792 22.101333-58.453333 27.562667-59.477333 27.818666-1.024 0.256-1.877333 0.341333-2.816 0.341334z"
                    fill="currentColor" p-id="6177"></path>
                  <path
                    d="M314.026667 772.181333c-10.154667 0-19.797333-5.376-24.490667-14.762666l-86.186667-170.837334c-3.157333-6.314667-3.669333-13.482667-1.450666-20.309333 2.389333-7.168 7.68-13.226667 14.592-16.64l55.381333-27.648c13.909333-6.997333 30.72-1.706667 37.461333 11.690667l86.186667 170.837333c3.157333 6.314667 3.669333 13.482667 1.450667 20.309333-2.389333 7.168-7.68 13.226667-14.592 16.725334l-55.381334 27.648c-4.181333 2.048-8.618667 2.986667-12.970666 2.986666z m-29.184-227.669333c-0.512 0-1.024 0.085333-1.536 0.426667l-55.381334 27.648c-1.194667 0.597333-1.621333 1.450667-1.706666 1.792l86.186666 171.605333c0.256 0.597333 1.706667 1.024 3.157334 0.256l55.381333-27.648c1.194667-0.597333 1.621333-1.450667 1.706667-1.792v-0.768l-86.186667-170.837333c-0.170667-0.426667-0.768-0.682667-1.621333-0.682667z"
                    fill="currentColor" p-id="6178"></path>
                </svg>
                <span>服务关注</span>
              </el-menu-item>
            </el-sub-menu>
            <el-menu-item index="7">
              <svg t="1750647708314" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
                p-id="28042">
                <path
                  d="M955.456 765.12a41.792 41.792 0 0 0-34.368-32.64 8.256 8.256 0 0 1-6.08-3.904 8.256 8.256 0 0 1-0.384-7.104 41.856 41.856 0 0 0-11.136-45.696 165.76 165.76 0 0 0-60.096-34.56 41.728 41.728 0 0 0-45.056 13.12c-1.216 1.472-3.328 3.264-6.336 3.264s-5.12-1.728-6.336-3.264a41.6 41.6 0 0 0-45.056-13.184 166.4 166.4 0 0 0-60.224 34.624 41.728 41.728 0 0 0-11.136 45.632 8.064 8.064 0 0 1-0.384 7.104 8.256 8.256 0 0 1-6.08 3.904 41.728 41.728 0 0 0-34.304 32.64 166.72 166.72 0 0 0 0 68.928c3.584 16.96 17.28 29.952 34.432 32.64 1.92 0.32 4.544 1.216 6.08 3.904a8.256 8.256 0 0 1 0.384 7.104 41.6 41.6 0 0 0 11.136 45.696c17.344 15.616 37.568 27.2 60.096 34.56a41.728 41.728 0 0 0 45.056-13.056c1.216-1.472 3.328-3.264 6.336-3.264s5.12 1.728 6.336 3.264a41.728 41.728 0 0 0 45.056 13.12c22.528-7.296 42.688-18.88 59.968-34.432 12.8-11.52 17.216-29.696 11.136-45.76a8.192 8.192 0 0 1 0.384-7.168 8.256 8.256 0 0 1 6.08-3.904 41.728 41.728 0 0 0 34.496-32.64 166.144 166.144 0 0 0 0-68.928z m-40.832 60.288a49.92 49.92 0 0 0-35.904 24.256 49.92 49.92 0 0 0-3.264 42.752 123.584 123.584 0 0 1-44.992 25.792 49.92 49.92 0 0 0-38.528-18.432 49.664 49.664 0 0 0-38.528 18.432 125.44 125.44 0 0 1-45.056-25.856 49.728 49.728 0 0 0-39.04-66.944 123.712 123.712 0 0 1 0-51.776 49.92 49.92 0 0 0 35.648-24.256 49.92 49.92 0 0 0 3.328-42.624c12.928-11.648 28.224-20.416 45.12-25.92a49.92 49.92 0 0 0 38.528 18.432c15.68 0 29.44-7.296 38.592-18.432 16.896 5.504 32.128 14.272 45.056 25.856a49.728 49.728 0 0 0 39.04 66.944 122.624 122.624 0 0 1 0 51.776z"
                  fill="currentColor" p-id="28043"></path>
                <path
                  d="M791.936 736.96c-34.496 0-62.592 28.096-62.592 62.592s28.096 62.592 62.592 62.592 62.592-28.096 62.592-62.592-28.096-62.592-62.592-62.592z m0 83.456a20.864 20.864 0 1 1 0-41.728 20.864 20.864 0 0 1 0 41.728zM670.336 588.736c0.256 0.128 0.512 0.064 0.768 0.128l1.472 0.512 0.064-0.256a35.392 35.392 0 0 0 22.912-67.008l-0.384-0.064c-8.512-3.392-17.472-6.144-26.304-9.088a247.424 247.424 0 0 0 104.192-201.472 248.192 248.192 0 1 0-496.384 0c0 83.072 41.216 156.224 103.936 201.28-175.68 57.984-304.832 218.368-315.776 410.688 0 0.128 0.256 0.192 0.256 0.256a35.328 35.328 0 0 0 68.608 13.504c1.344-3.456 1.536-7.04 1.728-10.56l0.256-0.192a390.016 390.016 0 0 1 389.248-366.336c51.264 0 100.032 10.176 144.832 28.16 0.192 0.192 0.32 0.384 0.576 0.448zM347.648 311.424a177.28 177.28 0 1 1 354.56 0 177.28 177.28 0 0 1-354.56 0z"
                  fill="currentColor" p-id="28044"></path>
              </svg>
              <span>用户管理</span>
            </el-menu-item>
          </el-menu>
          <!-- aside内底部按钮 -->
          <div class="aside-bottom-btn" @click="toggleAsideCollapse">
            <el-icon style="font-size:1.3em;">
              <DArrowRight v-if="isAsideCollapse" />
              <DArrowLeft v-else />
            </el-icon>
            <span v-show="!isAsideCollapse" class="collapse-text">收起侧栏</span>
          </div>
        </div>
        <!-- 主内容区 -->
        <el-main class="main-content">
          <el-scrollbar>
            <el-breadcrumb :separator-icon="ArrowRight" class="main-breadcrumb">
              <el-breadcrumb-item v-for="item in breadcrumbs" :key="item.path" :to="item.path">
                <el-icon v-if="item.icon" style="vertical-align: middle; margin-right:0.25em;">
                  <component :is="item.icon" />
                </el-icon>
                <span>{{ item.title }}</span>
              </el-breadcrumb-item>
            </el-breadcrumb>
            <div class="page-content">
              <router-view />
            </div>
          </el-scrollbar>
        </el-main>
        <AIDialog v-if="aiDialogVisible" @close="aiDialogVisible = false" />
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import { ref, computed } from 'vue'
import { useRouter, useRoute } from 'vue-router'
import { DArrowLeft, DArrowRight } from '@element-plus/icons-vue';
import AIDialog from '@/components/AIBox.vue'

const aiDialogVisible = ref(false)
const isAsideCollapse = ref(false)
const toggleAsideCollapse = () => {
  isAsideCollapse.value = !isAsideCollapse.value
}
const router = useRouter()
const route = useRoute()
const activeMenu = ref('1')
const logout = () => {

}
const routeMetaMap = {
  '/homeView': { title: '首页' },
  '/': { title: '首页' },
  '/homeView/userManage': { title: '用户管理' },
  '/homeView/bedManage': { title: '床位管理' },
  '/homeView/bedManage/bedMap': { title: '床位示图' },
  '/homeView/bedManage/bedUsageTable': { title: '床位记录' },

  '/homeView/nursingManage': { title: '护理管理' },
  '/homeView/nursingManage/nursingLevelTable': { title: '护理级别' },
  '/homeView/nursingManage/nursingProjectTable': { title: '护理项目' },
  '/homeView/nursingManage/clientNursingTable': { title: '客户护理配置' },
  '/homeView/nursingManage/clientRecord': { title: '护理记录' },

  '/homeView/clientManage': { title: '客户管理' },
  '/homeView/clientManage/checkin': { title: '入住管理' },
  '/homeView/clientManage/checkout': { title: '退住管理' },
  '/homeView/clientManage/leave': { title: '外出管理' },
  '/homeView/clientManage/clientForm': { title: '客户总览' },

  '/homeView/mealManage': { title: '膳食管理' },
  '/homeView/mealManage/mealScheduleTable': { title: '膳食日历' },
  '/homeView/mealManage/mealItemTable': { title: '菜品管理' },
  '/homeView/mealManage/clientMealConfig': { title: '客户膳食配置' },

  '/homeView/healthManage': { title: '健康服务' },
  '/homeView/healthManage/caretakerManage': { title: '设置服务' },
  '/homeView/healthManage/serviceFocus': { title: '服务关注' },
}


const pageTitle = computed(() => {
  const username = localStorage.getItem("username") || "用户"
  const routeInfo = routeMetaMap[route.path]
  const pageName = routeInfo ? routeInfo.title : "首页"
  return `欢迎${username}使用本系统，当前页为：${pageName}`
})

const breadcrumbs = computed(() => {
  const paths = route.path.split('/').filter(Boolean)
  let full = ''
  const arr = []
  for (let i = 0; i < paths.length; i++) {
    full += '/' + paths[i]
    if (routeMetaMap[full]) {
      arr.push({ title: routeMetaMap[full].title, path: full })
    }
  }
  if (arr.length === 0) arr.push({ title: '首页', path: '/' })
  return arr
})
const handleSelect = idx => {
  activeMenu.value = idx
  if (idx === '7') {
    router.push('/homeView/userManage')
  } else if (idx === '1-1') {
    router.push('/homeView/clientManage/checkin')
  } else if (idx === '1-2') {
    router.push('/homeView/clientManage/checkout')
  } else if (idx === '1-3') {
    router.push('/homeView/clientManage/leave')
  } else if (idx === '1-4') {
    router.push('/homeView/clientManage/clientForm')
  } else if (idx === '2-1') {
    router.push('/homeView/bedManage/bedMap')
  } else if (idx === '2-2') {
    router.push('/homeView/bedManage/bedUsageTable')
  } else if (idx === '3-1') {
    router.push('/homeView/mealManage/mealScheduleTable')
  } else if (idx === '3-2') {
    router.push('/homeView/mealManage/mealItemTable')
  } else if (idx === '3-3') {
    router.push('/homeView/mealManage/clientMealConfig')
  } else if (idx === '4-1') {
    router.push('/homeView/nursingManage/nursingLevelTable')
  } else if (idx === '4-2') {
    router.push('/homeView/nursingManage/nursingProjectTable')
  } else if (idx === '4-3') {
    router.push('/homeView/nursingManage/clientNursingTable')
  } else if (idx === '4-4') {
    router.push('/homeView/nursingManage/clientRecord')
  } else if (idx === '6-1') {
    router.push('/homeView/healthManage/caretakerManage')
  } else if (idx === '6-2') {
    router.push('/homeView/healthManage/serviceFocus')
  }
}

const goAIPage = () => {
  aiDialogVisible.value = true
}
</script>

<style scoped>
html {
  font-size: 16px;
}

.common-layout,
.main-container {
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  background: #fff;
  overflow: hidden;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  min-width: 1.2em;
  min-height: 1.2em;
  vertical-align: middle;
  fill: currentColor;
  margin-right: 0.6em;
  display: inline-block;
}

.header {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.25rem;
  background: linear-gradient(to bottom, #fcd395, #fbd3bb 90%);
  box-sizing: border-box;
}

.header-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.avatar {
  margin-right: 0.8em;
}

.header-center {
  flex: 1 1 0;
  text-align: center;
  font-weight: 700;
}

.page-title {
  padding-left: 10%;
  font-size: 1.5em;
  color: #fff;
  letter-spacing: 0.07em;
}

.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logout {
  cursor: pointer;
  font-size: 1.08em;
  color: #333;
  padding: 0 0.5em;
  transition: color .2s;
}


.logout:hover {
  color: #faad14;
  text-decoration: underline;
}

.sidebar-inner {
  background: linear-gradient(to bottom, #fcd395 80%, #fbc3bb 100%);
  height: 100%;
  border-right: 0.0625rem solid #ececec;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  /* 让菜单和底部按钮纵向排列 */
  padding: 0;
}

.custom-menu {
  background: transparent;
  border-right: none;
  flex: 1 1 auto;
  min-height: 0;
  /* 菜单撑满剩余空间 */
}

.aside-bottom-btn {
  width: 100%;
  min-height: 2.5rem;
  font-size: 1.12em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ba8c43;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
  user-select: none;
  margin-top: auto;
}

.aside-bottom-btn:hover {
  background: #fff2d8;
  color: #faad14;
}

.collapse-text {
  margin-left: 0.65em;
  font-size: 1em;
  white-space: nowrap;
}

.main-content {
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  background: #fff;
  padding: 0 2vw 0 2vw;
  display: flex;
  flex-direction: column;
}

.main-breadcrumb {
  margin: 1em 1em 1em 1em;
  font-size: 1em;
}

.page-content {
  flex: 1 1 auto;
  min-height: 0;
}

.el-main {
  padding: 0;
}

.scrollbar-demo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 10px;
  text-align: center;
  border-radius: 4px;
  background: var(--el-color-primary-light-9);
  color: var(--el-color-primary);
}</style>
